{include file="header.htm"}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$view.article_title}</title>
</head>
<body>
	<div  align="left" class="foot">
		 <div class="top">{if $u.user_id}欢迎回来！<a class="current" href="{url _a=User _m=index}">{$u.user_nick}</a> | <a href="{url _a=Login _m=Logout returl=$returl}">{$L.EXIT}</a>{else}欢迎你！<a href="{url _a=Login _m=index}">登陆</a>|<a href="{url _a=Register _m=index}">注册</a>{/if}</div>	
{if $newpm}<div class="lt"><a href="{url _a=Message _m=Index}"><img src="http://bbs.8eoo.com/static/image/common/new_pm.gif" alt="新信息"/>你有{$newpm}条新信息</a></div>{/if}
                <div class="content-list-content">
		   <div class="lt">{$view.article_title} </div>
		   <div class="">{"\r\n"|str_replace:'<br />':$view.article_text}</div>
		   <div class="list"></div><div class="list">
		   发表时间:{'Y-m-d H:i:s'|date:$view.add_time}<br />最后编辑:{'Y-m-d H:i:s'|date:$view.edit_time}</div>
		   <div class="lt">本文共{$recount}条回复 阅读{$view.article_read}次</div>
		  {if $recount>0}
			   {section name=i loop=$re}
			   		<div class="list">{$smarty.section.i.index+1}楼:{"\n"|str_replace:'<br />':$re[i].re_content}<br />{$re[i].re_nick} {'m-d H:i'|date:$re[i].re_time}</div>
			   {/section}
		   {else}
		   		<div class="list">本文还没人回复,快来抢沙发吧!</div>
		   {/if}
		</div>
		<div class="lt">我要回复</div>
		<form action="{url _m=ReArticle id=$id}" method="post">
		<textarea rows="3" name="recontent"></textarea><br />
		<input type="submit" value="提交回复"/><br />
		</form>
		<a href="{url _a=Article _m=List}">返回列表</a> | <a href="{url _a=index _m=index}">返回首页</a>
		{include file="footer.htm"}
	</div>
</body>
</html>